roundedbox: Clamp border radius to box size
authorAndrea Cimitan <andrea.cimitan@canonical.com>
Wed, 20 Jul 2011 21:37:26 +0000 (23:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 21 Jul 2011 00:43:54 +0000 (02:43 +0200)
commitb3f03d092fd71ba6f31a0dda20f1b00fa0d99eb3
tree32d7fa981b0152d279b776bf622e6b540ae6796b
parenta02b82056a37df9e235ba09afb78cc8bb299c797
roundedbox: Clamp border radius to box size

Note that clamping in rounded_box_grow() is not necessary as that
function cannot lead to overlap unless the rounded box was overlapping
previously.

https://bugzilla.gnome.org/show_bug.cgi?id=655009
gtk/gtkroundedbox.c